package com.phonegap.gwt.fbconnect.client;

import com.google.gwt.core.client.GWT;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.user.client.Window;
import com.phonegap.gwt.fbconnect.client.impl.*;
public class FBConnect extends JavaScriptObject {

	  
	  protected FBConnect() {
	  }
	  


	
	  private static final FBConnectImpl impl = GWT.create(FBConnectImpl.class);

	  public static FBConnect getFBConnect() {
	    return impl.getFBConnect();
	  }

	  

	  public final void setOnConnectCallback(OnConnectCallback callback ) {
		
			  impl.setOnConnectCallback(this,callback);
	  }

	  
	  public final String getAccessToken() {
		  return impl.getAccessToken(this);
		  
	  }
	  
	  public final void connect(String client_id,String redir_url,String display,String scope ) {
			  impl.connect(this,client_id,redir_url,display,scope);
	  }

	  
	  public final void logout(String client_id)  {
		  impl.logout(this,client_id);
	  	}
}
